package com.ia.aistream.service.operating;

import com.ia.aistream.model.operating.entity.DocContentParagraph;

import java.util.List;


/**
 * content_paragraphService接口
 *
 * @author aistream
 * @date 2021-01-20
 */
public interface IDocContentParagraphService
{
    /**
     * 查询content_paragraph
     *
     * @param id content_paragraphID
     * @return content_paragraph
     */
    public DocContentParagraph selectDocContentParagraphById(Long id);

    /**
     * 查询content_paragraph列表
     *
     * @param docContentParagraph content_paragraph
     * @return content_paragraph集合
     */
    public List<DocContentParagraph> selectDocContentParagraphList(DocContentParagraph docContentParagraph);

    /**
     * 新增content_paragraph
     *
     * @param docContentParagraph content_paragraph
     * @return 结果
     */
    public int insertDocContentParagraph(DocContentParagraph docContentParagraph);



    /**
     * 修改content_paragraph
     *
     * @param docContentParagraph content_paragraph
     * @return 结果
     */
    public int updateDocContentParagraph(DocContentParagraph docContentParagraph);

    /**
     * 批量删除content_paragraph
     *
     * @param ids 需要删除的数据ID
     * @return 结果
     */
    public int deleteDocContentParagraphByIds(String ids);

    /**
     * 删除content_paragraph信息
     *
     * @param id content_paragraphID
     * @return 结果
     */
    public int deleteDocContentParagraphById(Long id);
}
